Creating an infographic on the distribution of composite volcanoes around the world, the rock types that make up these volcanoes, and the geologic environments they form in.
Data Visualization
R
Graphic Design
Author
Affiliation
Sam Lance
Master of Environmental Science and Management at the The Bren School (UCSB), Data Visualization (EDS 240)
As a geologist turned geomorphologist, my academic interests generally return to the abiotic factors in our world. I have always been interested in volcanoes and their relationship to the movement of Earth’s tectonic plates, but have never had the opportunity to learn more outside of my introductory geology courses.
As I was looking for an interesting dataset to create an infographic about, I discovered the Smithsonian Institution National Museum of Natural History’s Global Volcanism Program’s dataset. Detailing all known volcanic eruptions from the last 12,000 years, it provided the perfect opportunity for me to learn more about volcanoes and practice my skills in R.
After looking into the data more closely, I realized it showed very clear trends that specific types of volcanoes, composite volcanoes, were clustered around the Pacific Ocean. This creates the famous Ring of Fire, formed due to the unique tectonic setting of the region, which naturally produces large, incredibly destructive volcanoes. While many people learn about volcanoes in middle school science courses, many do not know the mechanisms behind their formation. This infographic is meant to provide an opportunity to re-up that knowledge, and learn a bit more about composite volcanoes and how they are linked to the Ring of Fire.
Sam Sitting on a Rock on a Geology Field Trip to Lone Pine
2 The Questions
When designing this visualization, I wanted to answer three questions with my plots that would provide a non-scientific audience a better understanding of composite volcanoes. These questions are:
1. Where are composite volcanoes located around the world?
2. What type of rock are composite volcanoes made of?
3. What geologic environment do composite volcanoes primarily form in?
Each question inherently links to one another, as composite volcanoes form in subduction zones, which primarily generate Andesite, and are primarily located around the borders of the Pacific Ocean. This creates a strong, intertwined narriative that will communicate the information in a clear and concise way.
3 The Visualization
Composite Volcano Data Visualization
4 Individual Plots
4.1 Wrangling
Prior to creating any visualizations, my data needed moderate wrangling. All dates in the dataset were written as “2000 BCE”, which needed to be converted into a numeric to be used in any analysis. Additionally, for this analysis I only wanted to look at eruptions with a confirmed eruption date after 0 CE, so I filtered out all eruptions with an eruption date of “unknown”.
Reading layer `ne_110m_admin_0_countries' from data source
`/private/var/folders/7r/2ngr651x2rd0q43kgmpyvwvw0000gn/T/RtmpzQjbVG/ne_110m_admin_0_countries.shp'
using driver `ESRI Shapefile'
Simple feature collection with 177 features and 168 fields
Geometry type: MULTIPOLYGON
Dimension: XY
Bounding box: xmin: -180 ymin: -90 xmax: 180 ymax: 83.64513
Geodetic CRS: WGS 84
4.2 Map of Composite Volcanoes
This figure is meant to answer the first question of the three: where are composite volcanoes located around the world? The map shows the location of all composite volcanoes in the dataset, with the color of the point representing the tectonic setting of the volcano. The map is centered on the Pacific Ocean, with the Ring of Fire clearly visible. This allows the viewer to see the clustering of composite volcanoes around the Pacific Ocean.
This figure is meant to answer the question: what type of rock are composite volcanoes made of? The bar chart reveals that the majority of composite volcanoes are Andesites, with Basalts and Trachyandesites also being common.
Code
#CREATING NEW FILTERED DATASET #| echo: true#| message: false#levels(as.factor(volcano_mod$dominant_rock_type))rock_type <- volcano_mod |>filter(eruption_year >0) |>filter(last_known_eruption !="Unknown") |>filter(!dominant_rock_type %in%c("No Data (checked)", "")) |>filter(volcano_landform =="Composite") |>mutate(rock_type =recode(dominant_rock_type,"Andesite / Basaltic Andesite"="Andesite","Basalt / Picro-Basalt"="Basalt","Trachybasalt / Tephrite Basanite"="Trachybasalt","Trachyandesite / Basaltic Trachyandesite"="Trachyandesite","Phono-tephrite / Tephri-phonolite"="Other","Trachyte / Trachydacite"="Trachyte")) rock_plot <- rock_type |>ggplot(aes(x =fct_rev(fct_infreq(rock_type)))) +# Reverse the order of the factor levelsgeom_bar(fill = new_orange, alpha =0.8) +geom_text(stat ="count", aes(label = ..count.., hjust =-0.2), color ="white", size =12) +# Add count labelscoord_flip() +scale_x_discrete(expand=c(0,0)) +#scale_x_discrete(expand = expansion(add = c(-0.5, 0.05))) +labs(x =NULL, y ="Total Number of Eruptions", title ="Composite Volcanoes are Predominatly Andesites",subtitle ="The main rock type that makes up composite volcanoes around the world are andesites") +gghighlight(dominant_rock_type =="Andesite / Basaltic Andesite", use_direct_label =FALSE) +theme(axis.text.x =element_blank(),axis.text.y =element_text(color= v_grey, size =40, family ="roboto"),axis.title.y =element_text(color= v_grey, size =40, family ="roboto"),plot.title =element_text(color= v_grey, size =50, family ="roboto",face ="bold"),plot.subtitle =element_text(color= v_grey, size =35, family ="roboto",face ="italic"),plot.background =element_rect(fill = v_black),panel.background =element_rect(fill = v_black),panel.grid =element_line(color = v_black), )# ggsave(# filename = here::here("final_images", "rock_type.png"),# plot = rock_plot, # device = "png",# width = 9, # height = 4.5,# unit = "in"# )# rock_plot
4.4 Donut Chart of Composite Volcano Formation
The final figure in the infographic is meant to answer the question: what geologic environment do composite volcanoes primarily form in? The donut chart shows that the majority of composite volcanoes form in subduction zones, with rift zones and hotspots being less common.
Code
volcano_loc <-read_csv(here("posts", "2025-03-09-data-vis-infographic", "data", "volcano_count.csv"))# Compute percentagesvolcano_loc$fraction = volcano_loc$eruption_count /sum(volcano_loc$eruption_count)# Compute the cumulative percentages (top of each rectangle)volcano_loc$ymax =cumsum(volcano_loc$fraction)# Compute the bottom of each rectanglevolcano_loc$ymin =c(0, head(volcano_loc$ymax, n=-1))zone <-ggplot(volcano_loc, aes(ymax=ymax, ymin=ymin, xmax=4, xmin=3, fill=tectonic_setting)) +# Remove the color aestheticgeom_rect(color =NA) +# Set the outline color to transparentcoord_polar(theta="y") +xlim(c(2, 4)) +scale_fill_manual(values =c("#404040", "#808080", porange)) +theme_void() +theme(plot.background =element_rect(fill = v_black),panel.background =element_rect(fill = v_black),legend.position ="none")# zone# # ggsave(# filename = here::here("final_images", "form_zone.png"),# plot = zone, # device = "png",# width =5, # height =5,# unit = "in"# )
4.5 Creating the Infographic
To add final annotations and additional design elements to the infographic, I brought each plot into Powerpoint. This software gave me the flexibility to add text annotations, small volcano graphics, and plot components that would have been significantly more difficult when working in R.
When brainstorming my design, all design elements centered around my conception of the map. I wanted the Ring of Fire to be fully visible with the Pacific Ocean centered, and text taking up the blank space in the middle. This allowed me to show the striking spatial clustering in this data, while also leaving me space to provide additioanl information and annotations.
From there, I knew I needed to show how overwhelming amount of volcanoes that were made up andesite and formed in subduction zones. A mix of a bar chart created using gg_highlight and a donut chart with the same visual effect were perfect to emphaisize this point. I placed these below my map, and right below my last annotation in the Pacific Ocean, so the eye naturally gravitates towards them after fully reading the text.
The overall story of the infographic is provided by the text annotations. I wanted to create a series of questions in my walkthrough, and have the next figure help provide the answer. Additionally, since the topic is foreign to most of my viewers, I wanted to make sure I provided scientific background to terms people might not have heard before such as subduction or andesite. Each annotation is meant to be directly related to a graphic, and provide clear yet accessible context. For this reason, text on the actual graphs was kept incredibly minimal, to let the annotations speak for themselves.
To stay with the volcano theme, I chose a color palette that reminded me of different elements of volcanoes: grey for volcanic ash, black for obsidian formed by composite volcanoes, and my highlighting colors shades of red and orange for magma. While I likely could have added some fun flame text throughout the infographic, I wanted this to be something that could be sent to a teacher or used in a classroom, so I kept the design more professional and used the Roboto font throughout.
The overall message of this infographic is that composite volcanoes form in the Ring of Fire due to the unique tectonic setting of the region. Plain language and a minimal color scheme help provide a visually interesting but minimally technical graphic that can be understood by a mass audience.
Each plot on the graph is meant to work together to contextualize the others. While the map alone or bar + donut plots alone could provide valuable information about composite volcanoes, together they showcase the broader overall trends and provide a more in-depth understanding. The captions support this partnership, providing a guiding narriative that keeps the viewer moving down the graphic.
While my infographic does not specifically use a colorblind friendly palette, the majority of the graphic is black, white, and grey. All data is conveyed both with visual elements as well as color, so a completely colorblind viewer of the graphic would not be missing any information that a viewer with full color vision would have.
For this project, the goal was to make knowledge about composite volcanoes more accessible to a genral audience. While this does innately promote the inclusion element of DEI, the project does not view the data through a DEI lens. A future infographic could use this same data to see what populations could be most affected by volcanoes, especially at risk communities.
6 Acknowledgements
This project is coming together with the help of Sam Shanny-Csik the instructor of EDS 240 - Data Visualization at the Bren School at UCSB. The data used in this project is from the Smithsonian Institution National Museum of Natural History’s Global Volcanism Program, and the map data is from the Natural Earth database.
Author Diving Deep into Volcanoes for Her Project, Feeling Like Gollum
7 Code
The code below is the full code used to create the visualizations in this infographic. This does not include all annotations or other transformations done to the maps in Powerpoint, but shows all base graphs and data wrangling done to create the visualization.